/*
 *    Copyright (c) 2018-2025, cloud All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: cloud
 */

package com.fuyao.cloud.asset.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fuyao.cloud.common.core.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 资产分类管理
 *
 * @author liyue
 * @date 2021-11-17 17:29:32
 */
@Data
@TableName("fy_asset_cti")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "资产分类管理")
public class AssetCti extends BaseEntity<AssetCti> {

    private static final long serialVersionUID = 1L;

    /**
     * 资产分类类型(DEVICE:资产类；CONSUMABLES)
     */
    @ApiModelProperty(value="资产分类类型(DEVICE:资产类；CONSUMABLES:易耗品)")
    private String assetType;

    /**
     * 下拉框包括{0：批次管理、1加权平均}默认为：批次管理
     */
    @ApiModelProperty(value="下拉框包括{0：批次管理、1加权平均}默认为：批次管理            ")
    private String accountingMethod;

    /**
     * 所属父类的ID
     */
    @ApiModelProperty(value="所属父类的ID")
    private Long parentId;

    /**
     * 所属父类名称
     */
    @ApiModelProperty(value="所属父类名称")
    private String parentName;

    /**
     * 分类名称
     */
    @ApiModelProperty(value="分类名称")
    private String name;

    /**
     * 分类编码
     */
    @ApiModelProperty(value="分类编码")
    private String code;

    /**
     * 分类全名称
     */
    @ApiModelProperty(value="分类全名称")
    private String fullname;

    /**
     * 分类全编码
     */
    @ApiModelProperty(value="分类全编码")
    private String fullcode;

}
